setAlias

fun setAlias(context: Context, alias: Any)

Deprecated

This method is deprecated in favour of identifyUser(). This method will be removed in 15.00.00.

Replace with

MoEAnalyticsHelper.identifyUser()

Set an Alias to update the existing Unique Id Note: This API only accepts the below data-types:

String, Int, Long, Double

Since

12.0.00

Parameters

alias

identifier


fun setAlias(context: Context, alias: Any, appId: String)

Deprecated

This method is deprecated in favour of identifyUser(). This method will be removed in 15.00.00.

Replace with

MoEAnalyticsHelper.identifyUser()

Set an Alias to update the existing Unique Id Note: This API only accepts the below data-types:

String, Int, Long, Double

Since

12.0.00

Parameters

alias

identifier

appId

Account identifier, APP ID on the MoEngage Dashboard.